<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            list-style: none;
        }
        .nav{
            height: 30px;
            background-color: #f1f1f1;
            padding-left: 200px;
        }
        .nav ul li{
            display: inline;
            line-height: 30px;
            font-size: 12px;
            cursor: pointer;

        }
        .nav ul li span:hover{
            color: red;
        }
        .mobile{
            background-image: url(./练习3：仿京东导航/素材/img/tel.png);
            background-repeat: no-repeat;
            padding-left: 20px;
            background-position: 2px -2px;
        }
        .mobile:hover{
            color: red;
            background-position: 2px -27px;
        }
    </style>
</head>
<body>
    <!-- <img src="./练习3：仿京东导航/素材/img/tel.png" alt=""> -->
    <div class="nav">
        <ul>
            <li>你好，请登录</li>
            <li>

                <span>免费注册</span>
                |
            </li>
            <li><span>我的订单</span>
                |
            </li>
            <li><span>我的京东</span>
                |
            </li>
            <li><span>京东会员</span>
                |
            </li>
            <li><span>企业采购</span>
                |
            </li>
            <li class="mobile"><span>手机京东</span>
                |
            </li>
            <li><span>关注京东</span>
                |
            </li>
            <li><span>客户服务</span>
                |
            </li>
            <li><span>客户服务</span></li>
        </ul>
    </div>
</body>
</html>